* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

ul {
    list-style: none;
}

.clearfix::before, .clearfix::after {
    content: '';
    display: table;
}

.clearfix::after {
    clear: both;
}

a {
    text-decoration: none;
    color: #222;
}

a:hover {
    color: #315efb;
}

.container .header {
    height: 60px;
    line-height: 60px;
    min-width: 900px;
}

.container .header .nav ul li {
    float: left;
    margin-right: 30px;
}

.container .header .nav .more {
    position: relative;
    display: inline-block;
    line-height: 60px;
}

.container .header .nav .more:hover .list {
    display: block;
}

.container .header .nav .more .list {
    width: 304px;
    /* 
    第一个参数x轴偏移量，值越大，x轴右方阴影越大，如果是负值，阴影在x轴左方。
    第二个参数y轴偏移量，值越大，y轴下方阴影越大，如果是负值，阴影在y轴上方。
    第三个参数是模糊值，值越大阴影越不清楚。
    第四个参数是外延值，值越大阴影越大。
    第五个参数是阴影的颜色。
    第六个参数是阴影的类型：外阴影， 内阴影inset
    */
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 12px;
    position: absolute;
    right: -15px;
    top: 50px;
    background-color: #fff;
    z-index: 10;
    display: none;
}

.header .more .list .row {
    font-size: 0;
    line-height: 1;
}

.header .more .list .row .item {
    display: inline-block;
    width: 76px;
    height: 70px;
    font-size: 13px;
    margin-top: 10px;
}

.header .more .list .row .item img {
    width: 44px;
    height: 44px;
    display: block;
    margin: 0 auto;
}

.header .more .list .row .item .title {
    line-height: 24px;
    text-align: center;
}

.header .more .list .row .all {
    font-size: 13px;
    display: block;
    text-align: center;
    line-height: 50px;
    color: #9195a3;
}

.header .more .list .row .all:hover {
    color: #315efb;
}

.container .header .nav li:first-child {
    margin-left: 30px;
}

.container .header .right {
    float: right;
}

.container .header .right ul li {
    float: left;
    margin-right: 30px;
}

.container .header .right .setting {
    display: inline-block;
    line-height: 60px;
    position: relative;
}

.container .header .right .setting:hover .list {
    display: block;
}

.container .header .right .setting .list {
    width: 84px;
    padding: 8px 0;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 12px;
    position: absolute;
    left: -30px;
    top: 50px;
    background-color: #fff;
    z-index: 10;
    display: none;
}

.container .header .right .setting .list li {
    float: none;
    line-height: 30px;
    text-align: center;
    width: 100%;
}

.container .header .right .setting .list li.split {
    line-height: 5px;
}

.container .header .right .setting .list li.split a {
    display: inline-block;
    width: 50px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.header .ding {
    color: #f63051;
}

.header .ding:hover {
    color: #315efb;
}

.header .city {
    font-size: 0;
    display: inline-block;
    line-height: 60px;
    position: relative;
}

.header .city>span {
    font-size: 13px;
}

.header .city .name {
    margin-right: 5px;
}

.header .city .weather-pic {
    width: 23px;
    height: 23px;
    vertical-align: middle;
    position: relative;
    top: -5px;
}

.header .city .temp {
    margin: 0 5px;
}

.header .city .wind {
    font-size: 11px;
    background-color: #4e71f2;
    color: #fff;
    padding: 2px;
    border-radius: 3px;
}

.header .city:hover .list {
    display: block;
}

.header .city .list {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 12px;
    width: 496px;
    padding: 16px;
    position: absolute;
    left: -222px;
    top: 50px;
    background: #fff;
    z-index: 10;
    font-size: 13px;
    display: none;
}

.header .city .list .warn {
    height: 36px;
    background: #f5f5f6;
    border-radius: 6px;
    margin-top: 4px;
    margin-bottom: 12px;
}

.header .city .list .warn .warn-icon-link {
    position: absolute;
    top: 25px;
    left: 22px;
    width: 24px;
    height: 24px;
    background-image: url(../img/warn.png);
    background-size: 100% 100%;
}

.header .city .list .warn .warn-img-bg {
    float: left;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #ffdd00;
}

.header .city .list .warn .warn-title {
    float: left;
    margin-top: 6px;
    margin-left: 10px;
    color: #626675;
    line-height: 30px;
}

.header .city .list .toggle {
    user-select: none;
    -webkit-user-select: none;
}

.header .city .list .toggle .calendar {
    color: #333;
}

.header .city .list .toggle .festival {
    margin: 0 16px;
    color: #9195a3;
}

.header .city .list .toggle .sevenday-link {
    color: #315efb;
}

.header .city .list .toggle .setting-btn {
    float: right;
    cursor: pointer;
    color: #9195a3;
}

.header .user img {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1px solid #4e71f2;
    vertical-align: middle;
    position: relative;
    top: -4px;
}

.header .user {
    display: inline-block;
    line-height: 60px;
    position: relative;
}

.header .user:hover .list {
    display: block;
}

.header .user .list {
    width: 84px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 12px;
    padding: 8px 0;
    position: absolute;
    left: -3px;
    top: 50px;
    background-color: #fff;
    z-index: 10;
    display: none;
}

.header .user .list li {
    line-height: 30px;
    padding-left: 14px;
    width: 100%;
}

.middle {
    width: 1000px;
    min-width: 1000px;
    margin: 60px auto 0 auto;
    min-height: 550px;
    max-height: 510px;
}

.middle .logo {
    display: block;
    text-align: center;
    width: 270px;
    margin: 0 auto;
    cursor: pointer;
}

.middle .logo img {
    width: 270px;
    height: 129px;
}

.middle .search-box {
    /* border: 1px solid blue; */
    width: 654px;
    height: 44px;
    margin: 15px auto 0 auto;
    font-size: 0;
}

.search-box .search, .search-box .btn {
    font-size: 16px;
    display: block;
    height: 44px;
    float: left;
}

.search-box .search {
    width: 546px;
    border: 2px solid #c4c7ce;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    position: relative;
}

.search-box .search .carmer {
    position: absolute;
    right: 14px;
    top: 10px;
    width: 24px;
    height: 20px;
    background: url(../img/nicon.png) 0 -51px no-repeat;
    cursor: pointer;
}

.search-box .search .carmer:hover {
    background-position: 0 -75px;
}

.search-box .search input {
    width: 500px;
    height: 32px;
    position: relative;
    top: 4px;
    left: 4px;
    border: 0;
    outline: 0;
    padding-left: 10px;
}

.search-box .btn {
    border: 1px solid #4e6ef2;
    background-color: #4e6ef2;
    width: 108px;
    border-radius: 0 10px 10px 0;
}

.search-box .btn button {
    width: 106px;
    height: 42px;
    background-color: #4e6ef2;
    border-radius: 0 10px 10px 0;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    border: 0;
    /* 轮廓线 */
    outline: 0;
    cursor: pointer;
}

.search-box .btn button:hover {
    background-color: #4662d9;
}

.footer {
    min-width: 1000px;
    height: 40px;
    line-height: 40px;
    background-color: #fafafa;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #9195a3;
    font-size: 12px;
}

.footer .left {
    float: left;
}

.footer .left a:nth-child(1) {
    padding-left: 20px;
}

.footer .right {
    float: right;
}

.footer .left a, .footer .right span, .footer .right a {
    padding-right: 20px;
    color: #9195a3;
}

.footer a:hover {
    color: #000;
}